package com.xiaoma.service;

import com.xiaoma.entity.Cart;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @description:
 * @Author: xiaoma
 * @Date: 2021/9/17 15:01
 */
public interface CartService {
    Cart addCart(String id, Integer num, HttpServletRequest request);
    List<Cart> queryCart(HttpServletRequest request);
    Cart checkItem(String id, Integer isChecked, HttpServletRequest request);
    Long deleteItem(String id,HttpServletRequest request);
}
